package com.example.insectmanagementsystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.insectmanagementsystem.mapper.InsectMapper;
import com.example.insectmanagementsystem.pojo.Insect;
import com.example.insectmanagementsystem.service.InsectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 邝志豪
* @description 针对表【insect】的数据库操作Service实现
* @createDate 2024-04-02 18:58:53
*/
@Service
public class InsectServiceImpl extends ServiceImpl<InsectMapper, Insect>
    implements InsectService{
    @Autowired
    public  InsectMapper mapper;
    @Override
    public Integer addInsect(Insect insect) {
        return mapper.addInsect(insect);
    }
}




